home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Science / proFit FPU 4.1.2 Demo / Support Files / External modules / External Modules READ ME
Text File  |  1993-05-28  |  4KB  |  64 lines

  1. The External Modules are small functions and programs that you can add to proFit in order to build-in some extra features.
  2.  
  3. To use an external module:
  4. 1. Start your copy of proFit.
  5. 2. Choose "External Modules..." from the "Misc" menu.
  6. 3. Select the module to be linked.
  7.  
  8. The External Modules are found in the folder:
  9.  
  10.   "External Modules (non-FPU) ƒ"
  11.   These are the modules for the non-FPU-version of proFit
  12.  
  13. If you want to modify an external module  (to add new features or just to use it as a template for creating a new external module) the source code is provided in the folder:
  14.  
  15.     "External modules sources"
  16.  
  17. Two good, small examples of a program and a function, respectively, are "multiply" and "ErrorFunc"
  18. For many of the functions an programs, you will find the source in PASCAL as well as in C.
  19.  
  20. For a description of functions and programs and of their use, refer to the proFit user manual.
  21.  
  22. ALPHABETICAL LIST OF ALL EXTERNAL MODULES FOUND IN THIS FOLDER.
  23.  
  24.  
  25. ContourPlots
  26. ==================================================================
  27. This is a program that draws a countour plot representation of the data found in the
  28. current data window. The row numbers and column numbers in the current data window are interpreted as coordinates and the numbers in the data window as heights. The number found in the data window in row i and column j gives the value of a function f(i,j). The program draws a contour plot of f(i,j) in the currend graph. The i and j coordinates are scaled to fit in the ranges of the current graph.
  29.  
  30. ErrorFunc
  31. ==================================================================
  32. This function gives the integral of the Gauss Distribution
  33.  
  34.  
  35. FFT
  36. ==================================================================
  37. This program performes a complex fast fourier transformation
  38.  
  39. Lissajous
  40. ==================================================================
  41. This program draws Lissajous figures in the current graph
  42.  
  43. Multiply
  44. ==================================================================
  45. This is a very simple program that fills the current data window with a multiplication table. It is meant as a simple example of the features of a program.
  46.  
  47. SmoothInterpolation1
  48. ==================================================================
  49. This function uses the data points found in the x- and y-columns of the current data window to calculate a smooth interpolation curve (a "guide for the eyes"). The degree of smoothness is a parameter of the function.
  50. Another function that does the same thing but with a completely different algorithm is also provided below. Use whichever functions bests fits your wishes.
  51.  
  52. SmoothInterpolation2
  53. ==================================================================
  54. This function uses the data points found in the x- and y-columns of the current data window to calculate a smooth interpolation curve (a "guide for the eyes"). The curve is calculated on the basis of a succsession of linear interpolations over data point intervals containing a certain fixed amount of points. The number of points contained in the data intervales is a parameter of the function and gives the degree of smoothness. The curve which is drawn is a Bezier curve. 
  55.  
  56. GuideLine
  57. ===================================================================
  58. Another function to draw 'smooth' curves following the given data points.
  59. This function is a little more complex, but it offers various options for the user.
  60. To get customed to 'GuideLine' one has to play with the three parameters:
  61. smoothness, interval and averaging method.
  62. The source contains different algorithms that could be used also in other functions.
  63.  
  64.